*{
    margin: 0;
    padding: 0;
}

html,body {
    font-size: 37.5px;
    height: 100%;
    font-family: "微软雅黑", sans-serif;
}

// 头部
#header {
    box-sizing: border-box;
    height: 1.3333rem;
    width: 100%;
    background-color: #1d6dff;
    height: 1.3333rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    .fl {
        margin-left: .2667rem;
        float: left;
        img{
            height: .6667rem;
        }
    }
    
    .fr {
        margin-right: .2667rem;
        float: right;
        img{
            height: .9067rem;
        }
    }
}

// 搜索
#search {
    background-color: #fff;
    height: 1.3333rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
    position: relative;
    
    input,
    button {
        font-size: .4267rem;
        height: .8rem;
        border-radius: .4rem;
    }
    
    input {
        width: 90%;
        right: 1.3333rem;
        padding-left: 2%;
        // margin-left: .4rem;
        box-sizing: border-box;
        border: none;
        background-color: #f1f1f1;
    }
    
    button {
        width: 1.6rem;
        height: 30px;
        background: #1d6dff;
        border-radius: .4rem;
        position: absolute;
        right: .5333rem;
        top: .2667rem;
        border: none;
        color: white;
    }
}

// 菜单
#nav {
    // height: 8.2667rem;
    width: 100%;
    .container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding-bottom: .5333rem;
        
        .col-xs-3 {
            text-align: center;
            img {
                width: 1.3333rem;
            }
            p {
                font-size: .3733rem;
                font-style: '楷体';
            }
        }
    }
    :nth-of-type(1) {
        margin-top: .1333rem;
    }

    :nth-of-type(3) {
        margin-bottom: 0 !important;
    }
}

/* 折扣推荐 */
#discount {
    background-color: #1d6dff;
    height: .9333rem;
    line-height: .9333rem;
    padding-left: .2667rem;
    
    span {
        text-align: left;
        font-size: .5333rem;
        color: #fff;
        font-weight: bolder;
        float: left;
    }
    
    img {
        text-align: right;
        height: .5333rem;
        margin-top: .1867rem;
        margin-right: .2667rem;
        float: right;
    }
}

// 商品
ul {
    box-sizing: border-box;
    li {
        position: relative;
        margin-top: .2667rem;
        a{
            // text-decoration: none;
            color: #333333;
            img {
                width: 2.6667rem;
                height: 2.6667rem;
                padding-top: .2667rem;
                padding-bottom: .2667rem;
                padding-right: .1333rem;
            }
            
            p {
                margin-top: .4rem;
                float: right;
                width: 7.2rem;
                font-size: .4rem;
                span{
                    position: absolute;
                    top: 2rem !important;
                    color: red;
                }
            }
            span{
                font-size: .3467rem;
                position: absolute;
            }
            :nth-of-type(1){
                left: 110px;
                top: 2.6667rem;
            }
            :nth-of-type(2){
                right: .2667rem;
                top: 2.6667rem;
            }
        }
        
    }
}

// 底部-上
#footer {
    background-color: #f4f4f4;
  }
.more {
    height: 1.0667rem;
    background-color: #f4f4f4;
    padding: 10px;
    
    a {
        color: #666;
        display: block;
        font-size: .3467rem;
        line-height: .8rem;
        text-align: center;
        border-radius: .1333rem;
        border: 1px solid #dddddd;
        background-image: linear-gradient(#ffffff, #f4f4f4);
    }
}

// 底部-中
.chart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1d6dff;
    height: .9333rem;
    
    span {
        color: white;
        font-size: .48rem;
        font-style: '楷体';
        font-weight: bold;
        margin-left: .2667rem;
    }

    img {
        margin-right: .2667rem;
        width: .5333rem;
        padding-bottom: .1333rem;
    }
}

// 底部-中(注册)
.login {
    margin-top: 10px;
    height: 1.2267rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    a {
        color: #666;
        flex: 1;
        font-size: .3733rem;
        border: 1px solid #c4c4c4;
        text-align: center;
        line-height: .88rem;
        height: .88rem;
        text-decoration: none;
    }
}

// 底部-下
.bottom {
    // position: fixed;
    width: 100%;
    
    span {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: .3467rem;
        padding: .2667rem;
        
        a {
            text-decoration: none;
            color: gray;
        }
    }
    
    p {
        text-align: center;
        font-size: .3467rem;
        padding-bottom: .2667rem;
    }
}